const user = {
  state: {
    token: undefined,
    userid: undefined,
  },

  mutations: {
    SET_TOKEN: (state, token) => {
      state.token = token
    },
    SET_ID: (state, userid) => {
      state.userid = userid
      sessionStorage.setItem("loginMsg", userid)
    },
  },

  actions: {}
}

export default user